package org.linlinjava.litemall.admin.vo.locks;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/8/12 15:45
 */
public class MedicalLockDetailVo {

    private String rfidCode;

    private Integer commdityId;

    @NotNull(message = "衣柜锁id不能为空")
    private Integer medicalLockId;

    private String state;

    @NotNull(message = "页码不能为空")
    @DecimalMin(value = "1",message = "页码不能小于1")
    private Integer page;

    @NotNull(message = "每页条数不能为空")
    @DecimalMin(value = "0",message = "当前页数不能小于0")
    private Integer limit;

    public String getRfidCode() {
        return rfidCode;
    }

    public void setRfidCode(String rfidCode) {
        this.rfidCode = rfidCode;
    }

    public Integer getCommdityId() {
        return commdityId;
    }

    public void setCommdityId(Integer commdityId) {
        this.commdityId = commdityId;
    }

    public Integer getMedicalLockId() {
        return medicalLockId;
    }

    public void setMedicalLockId(Integer medicalLockId) {
        this.medicalLockId = medicalLockId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
